json file to dict python

38

open json file python -

import json

with open('data.txt') as json_file:
    data = json.load(json_file)

Comments

Submit
0 Comments